//
//  OneImageTableViewCell.m
//  DA_V
//
//  Created by 中亿世联前台 on 15/4/24.
//  Copyright (c) 2015年 zhouhai. All rights reserved.
//

#import "OneImageTableViewCell.h"
#import "InterFace.h"
#import "UIImageView+WebCache.h"


@implementation OneImageTableViewCell

- (void)awakeFromNib {
    // Initialization code
}


- (void)layoutSubviews{
    [super layoutSubviews];
    self.backgroundColor = LineColor;
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.oneImageView.layer.borderColor = BackColor.CGColor;
    self.oneImageView.layer.borderWidth = 1.0;
//    self.imageTitle.layer.borderColor = BackColor.CGColor;
//    self.imageTitle.layer.borderWidth = 1.0;

}

- (void)showImageUrl:(NSString *)url imageTitle:(NSString *)title{

    self.imageTitle.text = title;
    NSURL *imageUrl = [NSURL URLWithString:url];
    [self.oneImage sd_setImageWithURL:imageUrl placeholderImage:nil];
}

@end
